<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">

	<p:dialog header="Inserimento nuovo utente" widgetVar="dlg3" showEffect="explode" hideEffect="bounce" width="400" height="400">
	   	<h:outputText value="Inserisci i dati relativi al nuovo utente da inserire." /><br/><br/>		    	
	   	
	   	<p:outputLabel for="newUser" value="Username:" />
	   	<p:inputText id="newUser" value="#{homePortaleBean.newUser}" label="nuovo utente"/>
		
	   	<div align="center" style="clear: both; padding: 20px;">
	    	<p:commandButton value="Inserisci" onclick="PF('dlg3').hide();"
				id="buttonInserisci" action="#{homePortaleBean.inserisciUtente}"
				update="panelResult,:myform:growl" icon="ui-icon-check"/>
		</div>
	   	
	</p:dialog>
</ui:composition>